package com.supersonic.backend.model;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;

@Entity
public class DistrictCounty extends CommonFieldModel{

	@ManyToOne(cascade = CascadeType.ALL,fetch=FetchType.LAZY)
	private City city;


	/**
	 * @return the city
	 */
	public City getCity() {
		return city;
	}

	/**
	 * @param city the city to set
	 */
	public void setCity(City city) {
		this.city = city;
	}
}
